import { Module } from '@nestjs/common'
import { TypeOrmModule } from '@nestjs/typeorm'
import { Notice, NoticeConfig } from '@/modules/notice/entities/notice.entity'
import { NoticeController, WebNoticeController } from './notice.controller'
import { NoticeConfigService, NoticeService } from './notice.service'

@Module({
  imports: [TypeOrmModule.forFeature([Notice, NoticeConfig])],
  controllers: [NoticeController, WebNoticeController],
  providers: [NoticeService, NoticeConfigService],
})
export class NoticeModule {}
